home *** CD-ROM | disk | FTP | other *** search
- Windows Menu
-
- These three files go in your ".r" and your override of TApplication. At first I thought that creating
- lists, walking the Window Manager list and so forth every time through DoSetupMenus() would take way
- too much time. The fact is that it doesn’t. The only serious problem with this technique is that it
- makes use of the rather obscure fact that MacApp puts a reference to the parent TWindow in the refCon
- field of each Window Manager window. I don’t consider the fact that it walks the Window Manager
- window list a problem since that list is documentedin Inside Mac.
-
- The biggest advantage of this technique is that it requires no additional support from the TWindows
- or from the TApplication. Once you put it in you can forget about it.
-